<template>
  <ol class="stream-items ui stackable grid" style="list-style:none; padding: 0px;">
    <li class="row" v-for="n in 3" :key="n" @click="shower">
      <div class="stream-item">
        <div class="ui fluid card stream-item-card">
          <div class="stream-item-card-avatar">
            <sui-image circular :src="`${baseUrl}elliot.jpg`" />
          </div>
          <div class="content" style="border:none">
            <div class="header">Project Timeline</div>
            <div class="meta">Friend</div>
            <div class="description">
              Elliot Fu is a film-maker from New York.
              <div class="other-container">
                <sui-image class="other-container-image" shape="rounded" :src="img" size="small" style="border-radius: 0%;" />
              </div>
            </div>
          </div>
          <sui-card-content extra class="stream-item-footer">
            <div class="action-list">
              <div class="action">
                <sui-button icon="settings" class="action-icon" />
                <sui-button icon="settings" class="action-icon" />
                <sui-button icon="settings" class="action-icon" />
                <sui-button icon="settings" class="action-icon" />
              </div>
            </div>
          </sui-card-content>
        </div>
      </div>
    </li>
  </ol>
</template>
<script>
export default {
  name: "status",
  data() {
    return {
      baseUrl: process.env.BASE_URL,
      img: require("@/assets/images/elliot.jpg")
    };
  },
  methods: {
    shower() {
      console.log("显示");
    }
  }
};
</script>
<style lang="less" scoped>
@tablet: 992px;
@mobile: 768px;
.layout-content {
  background-color: rgb(255, 255, 255);
  flex: auto;
  min-height: 0;
  margin: 0 auto;
}
.ui.card > .content,
.ui.cards > .card > .content {
  background-size: 100%;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background-position: 0 50%;
  width: 100%;
  padding: 0;
  margin-top: -1px;
}
.ui.right.floated.image,
.ui.right.floated.images {
  background-color: #fff;
  border-radius: 50%;
  margin: -25px 8px 0 0;
  padding: 1px;
  vertical-align: bottom;
  display: inline-block !important;
  max-width: 100%;
}
.ui.card .content img,
.ui.cards > .card .content img {
  border-radius: 50%;
  height: 80%;
  width: 80%;
  @media (min-width: @tablet) {
    height: 70%;
    width: 70%;
  }
  @media (min-width: @mobile) {
    height: 60%;
    width: 60%;
  }
  border: 2px solid #fff;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
}
.stream-item {
  border-bottom: 1px solid #e6ecf0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  align-content: baseline;
  padding: 20px 20px;
}
.stream-item:hover {
  background-color: #f5f8fa;
}
.stream-item-card {
  text-align: left;
  margin: 0px;
  list-style: none;
  box-shadow: none;
  margin-left: 58px;
  background: none;
  padding-top: 0px;
  padding-bottom: 0px;
}
.stream-item-card-avatar {
  width: 50px;
  float: left;
  margin-top: 3px;
  margin-left: -58px;
  position: absolute;
}
.ui.card > .content.stream-item-footer {
  display: table;
  width: 100%;
  font-size: 12px;
  padding-top: 1px;
  height: 30px;
}
.ui.card > .content.stream-item-footer > .action-list {
  font-size: 0;
  height: 18px;
  line-height: 1;
  margin-bottom: 2px;
  margin-top: 10px;
}
.ui.card > .content.stream-item-footer > .action-list > .action {
  display: inline-block;
}
.ui.card > .content.stream-item-footer > .action-list > .action > .action-icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  position: relative;
  @media (min-width: 768px) {
    margin-right: 50px;
  }
  margin-right: 40px;
}
.row {
  cursor: pointer;
  padding: 0 !important;
}
.ui.raised.segment,
.ui.raised.segments {
  @media (min-width: 768px) {
    border: 1px solid rgba(34, 36, 38, 0.15);
    box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12),
      0 2px 10px 0 rgba(34, 36, 38, 0.15);
  }
  border: none;
  box-shadow: none;
}
#search-list-layout {
  padding: 0 !important;
}
</style>
